package com.ynkbny.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zelin.wang
 * @description 路由普通级
 * @date 8/14/2023
 */
@Data
@ApiModel(value = "路由表")
@TableName("router")
public class Router {
    @ApiModelProperty(value = "目录ID", example = "1")
    @TableId
    int id;
    @ApiModelProperty(value = "名称", example = "用户管理")
    String name;
    @ApiModelProperty(value = "访问路径", example = "/enterprise")
    String path;
    @ApiModelProperty(value = "使用icon", example = "Monitor")
    String icon;
    @ApiModelProperty(value = "父级ID", example = "2")
    String upId;
}
